//
//  SerialViewController.h
//  XPhoto
//
//  Created by sentinel on 2020/4/1.
//  Copyright © 2020 baboy. All rights reserved.
//

#import <BKKit/BKKit.h>
#import "BKTableViewController.h"
#import "PostSerial.h"
#import "User.h"
NS_ASSUME_NONNULL_BEGIN

@protocol SerialEditDelegate;

@interface SerialEditViewController : BKTableViewController
@property(nonatomic, strong) PostSerial *postSerial;
@property(nonatomic, strong) User *user;
@property(nonatomic, assign) id<SerialEditDelegate> delegate;
@end

@protocol SerialEditDelegate <NSObject>

@optional
- (void)serialEditViewController:(UIViewController *)vc didCreateSerial:(PostSerial *)postSerial;
- (BOOL)serialEditViewControllerShouldQuit:(UIViewController *)vc;

@end
NS_ASSUME_NONNULL_END
